package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("setmeal_dish")
public class SetMealDish implements Serializable {
    private static final long serialVersionUID = 1L; //序列化标识符，确保在不同编译器上反序列化的uid相等。
    private Long id;
    private Long setmealId;
    private Long dishId;
    private String name;
    private double price;
    private Integer copies;
    private Integer sort;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTable;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime uptateTable;
  @TableField(fill = FieldFill.INSERT)
    private Long createUser;
  @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
    private Integer isDelete;
}
